projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
759705d
)
gesture: ignore events if now widget window was found
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 8 Apr 2014 18:39:44 +0000
(20:39 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Fri, 23 May 2014 17:54:25 +0000
(19:54 +0200)
gtk/gtkgesture.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgesture.c
b/gtk/gtkgesture.c
index c6bd6583c2605e6cc4f6741809a8ffe2dac5b065..f2d208fc5083f90fec344ac15d83df331b8b3a23 100644
(file)
--- a/
gtk/gtkgesture.c
+++ b/
gtk/gtkgesture.c
@@
-292,6
+292,9
@@
_gtk_gesture_update_point (GtkGesture *gesture,
priv = gtk_gesture_get_instance_private (gesture);
widget_window = _find_widget_window (gesture, event->any.window);
+ if (!widget_window)
+ return FALSE;
+
if (add)
{
/* If the event happens with the wrong device, or